package com.wcx.application.service.Impl;

import com.wcx.application.domian.AdminBean;
import com.wcx.application.mapper.HelloMapper;
import com.wcx.application.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HelloServiceImpl implements HelloService {
    @Autowired
    HelloMapper helloMapper;


    @Override
    public AdminBean selectByUserName(String username) {
        return helloMapper.selectByUserName(username);
    }

    @Override
    public String login(AdminBean adminBean) {
        return helloMapper.login(adminBean);
    }
}
